package com.um.jdy.app.shop.entity.dto;

import com.um.springboot.starter.entity.dto.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/2/16 14:09
 */
@Data
public class GoodsCommentPageDTO extends PageQuery {

    @ApiModelProperty(value = "商品Id")
    private String shop_goods_id;

    @ApiModelProperty(value = "评论类型：Good-好评,Middle-中评,Bad-差评,Media-带图,Text-纯文字")
    private Type type;

    @ApiModelProperty(value = "是否精选")
    private String is_quality;

    @ApiModelProperty(value = "点赞排序：Asc升序｜Desc降序")
    private Order approve_order;

    public enum Type {
        Good, Middle, Bad, Media, Text
    }

    public enum Order{
        Asc, Desc
    }

}
